<div class="layui-fluid">
  <div class="layui-row layui-col-space15">
    <div class="layui-col-md8">
      <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
          <div class="layui-card">
            <div class="layui-card-header">快捷方式</div>
            <div class="layui-card-body">
              <div class="layui-carousel layadmin-carousel layadmin-shortcut">
                <div carousel-item>
                  <ul class="layui-row layui-col-space10">
                    <li class="layui-col-xs3">
                      <a lay-href="set/user/info">
                        <i class="layui-icon layui-icon-console"></i><cite>个人信息</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="set/user/password">
                        <i class="layui-icon layui-icon-template"></i><cite>修改密码</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="set/base" class="layadmin-backlog-body">
                        <i class="layui-icon layui-icon-set-sm"></i><cite> 网站设置</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="photos/list" class="layadmin-backlog-body">
                        <i class="layui-icon layui-icon-carousel"></i><cite> 相册管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="menu/list" class="layadmin-backlog-body">
                        <i class="layui-icon layui-icon-theme"></i><cite> 菜单管理</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="news/list" class="layadmin-backlog-body">
                        <i class="layui-icon layui-icon-tabs"></i><cite> 文章管理 (<span id="news"></span>)</cite>
                      </a>
                    </li>
                    <li class="layui-col-xs3">
                      <a lay-href="messages/list" class="layadmin-backlog-body">
                        <i class="layui-icon layui-icon-dialogue"></i><cite> 留言评论 (<span id="message"></span>)</cite>
                      </a>
                    </li>
                  </ul>
                </div>
              </div>
            </div>
          </div>
        </div>
         <div class="layui-col-md12">
          <div class="layui-card">
            <div class="layui-tab layui-tab-brief layadmin-latestData">
              <ul class="layui-tab-title">
                <li class="layui-this">评论留言</li>
              </ul>
              <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                  <table id="LAY-index-topSearch"></table>
                </div>
                <script type="text/html" id="switc_status">
          <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="显示|隐藏" lay-filter="switch" {{(d.status=='1')?'checked' : '' }}>
        </script>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="layui-col-md4">
      <div class="layui-card">
        <div class="layui-card-header">版本信息</div>
        <div class="layui-card-body layui-text">
          <table class="layui-table">
            <colgroup>
              <col width="100">
              <col>
            </colgroup>
            <tbody>
              <tr>
                <td>当前版本</td>
                <td>
                  <script type="text/html" template>
                    v{{ layui.admin.v }}
                    <!-- <a href="http://fly.layui.com/docs/3/" target="_blank" style="padding-left: 15px;">更新日志</a> -->
                  </script>
                </td>
              </tr>
              <tr>
                <td>前端框架</td>
                <td>
                  <script type="text/html" template>
                    layui-v{{ layui.v }}
                  </script>
                </td>
              </tr>
              <tr>
                <td>后端框架</td>
                <td>ThinkPHP V6.0.1</td>
              </tr>
              <tr>
                <td>更新版本</td>
                <td style="padding-bottom: 0;">
                  <div class="layui-btn-container">
                    <a href="https://gitee.com/ailcc/" target="_blank" class="layui-btn">gitee</a>
                  </div>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <div class="layui-card">
        <div class="layui-card">
          <div class="layui-tab layui-tab-brief layadmin-latestData">
            <ul class="layui-tab-title">
              <li class="layui-this">今日热帖</li>
            </ul>
            <div class="layui-tab-content">
              <div class="layui-tab-item layui-show">
                <table id="LAY-index-topCard"></table>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="layui-card">
        <div class="layui-card-header">
          温馨提示
          <i class="layui-icon layui-icon-tips" lay-tips="要支持的噢" lay-offset="5"></i>
        </div>
        <div class="layui-card-body layui-text layadmin-text">
          <p>遇到技术问题，请联系：<a href="https://ailcc.com/" target="_blank">https://ailcc.com</a></p>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
  layui.use('console', layui.factory('console'));

  function update() {
    layer.msg('已是最新版本');
    return false;
  }
</script>